import request from "assets/utils/request";
import {
  Loading,
} from 'quasar'
export const loadEffectType = data => {
    return request({
        method: 'post',
        url: '/effect/loadEffectType',
        data
    })
}
export const loadEffectList = data => {

    return request({
        method: 'post',
        url: '/effect/loadEffectList',
        data
    })
}
export const deleteEffect = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/deleteEffect',
        data
    })
}
export const updateEffectType = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/updateEffectType',
        data
    })
}
export const loadEffectLikeFolderList = data => {

    return request({
        method: 'post',
        url: '/effect/loadEffectLikeFolderList',
        data
    })
}
export const createEffectLikeFolder = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/createEffectLikeFolder',
        data
    })
}
export const addEffectLike = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/addEffectLike',
        data
    })
}
export const removeEffectLike = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/removeEffectLike',
        data
    })
}
export const removeEffectLikeFolder = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/removeEffectLikeFolder',
        data
    })
}
export const loadLikeFolderEffectList = data => {

    return request({
        method: 'post',
        url: '/effect/loadLikeFolderEffectList',
        data
    })
}
export const updateEffectLikeFolder = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/updateEffectLikeFolder',
        data
    })
}


export const loadEffectCollectionFolderList = data => {

    return request({
        method: 'post',
        url: '/effect/loadEffectCollectionFolderList',
        data
    })
}
export const addEffectCollection = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/addEffectCollection',
        data
    })
}
export const createEffectCollectionFolder = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/createEffectCollectionFolder',
        data
    })
}
export const removeEffectCollection = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/removeEffectCollection',
        data
    })
}
export const removeEffectCollectionFolder = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/removeEffectCollectionFolder',
        data
    })
}
export const loadCollectionFolderEffectList = data => {

    return request({
        method: 'post',
        url: '/effect/loadCollectionFolderEffectList',
        data
    })
}
export const updateEffectCollectionFolder = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/effect/updateEffectCollectionFolder',
        data
    })
}
export const loadLocalEffectList = data => {

    return request({
        method: 'post',
        url: '/effect/loadLocalEffectList',
        data
    })
}
export const uploadNasEffect = data => {

    return request({
        method: 'post',
        url: '/effect/uploadNasEffect',
        data
    })
}
export const loadEffectToProject = data => {

    return request({
        method: 'post',
        url: '/effect/loadEffectToProject',
        data
    })
}
export const removeEffectFromProject = data => {

    return request({
        method: 'post',
        url: '/effect/removeEffectFromProject',
        data
    })
}
